package cn.com.dragonsoftbravo.utils.azure.factory;

import cn.com.dragonsoftbravo.utils.azure.AzureConstants;
import cn.com.dragonsoftbravo.utils.azure.AzureServiceBusMessage;
import cn.com.dragonsoftbravo.utils.azure.message.ServiceBusQueueMessage;

public class ServiceBusMessageFactory {

	public static AzureServiceBusMessage getUploadFinishedMessage(String blobName) {
		ServiceBusQueueMessage message = new ServiceBusQueueMessage();
		message.setProperty(AzureConstants.MESSAGE_TYPE, AzureConstants.MESSAGE_TYPE_UPLOAD_FINISHED);
		message.setProperty(AzureConstants.ORIGINAL_IMAGE_REFERENCE, blobName);
		return message;
	}

}
